{include header.tpl}

{//hook tpl_user_edithpho_nav_before.htm}
<div class="title right padding">
	头像/<a href="index.php">首页</a>/<a href="index.php?user-zone.htm">空间</a>{//hook tpl_user_edithpho_login.htm}
</div>
{//hook tpl_user_edithpho_nav_after.htm}

<div class="l2">
	<div class="fixtable">
	<table>
		<tr><td>
			<table>
				<tr>
					<td width="110" align="center" valign="middel">
						<img src="{$_user_headphoto}" height="100" width="100" class="photo"/>
					</td>
				</tr>
			</table>
		</td></tr>
		<tr><td><div class="title">修改头像-[<a href="index.php?user-edithpho.htm">刷新</a>]</div></td></tr>
		<tr><td>
		<div class="form">
			<form action="index.php?user-edithpho.htm" method="post" enctype="multipart/form-data" >
				<p>选择图片</p>
				<p><input type="file" name="file" value="选择" class="form-input"/></p>
				{//hook tpl_user_edithpho_form.htm}
				<input type="hidden" value="{$FORM_HASH}" name="FORM_HASH"/>
				<input type="submit" value="上传" name="sub" class="form-submit"/>
			</form>
		</td></tr>
{if $alert_msg != ''}<tr><td><div class="t">{$alert_msg}</div></td></tr>{/if}
	</table>
	</div>
</div>

<div class="sub"></div>

{//hook tpl_user_edithpho_end.htm}
{include footer.tpl}